package com.guashu.liteflow.node;

import cn.hutool.core.collection.ListUtil;
import com.yomahub.liteflow.core.NodeIteratorComponent;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.Iterator;

@Component("h")
public class HCmp extends NodeIteratorComponent {
    @Override
    public Iterator<?> processIterator() throws Exception {
        ArrayList<String> list = ListUtil.toList("a", "b", "c");
        return list.iterator();
    }
}
